<form id="general-product-registration" name="general-product-registration" action="action/product-registration.php" method="post">
  <table>
    <tr>
      <td class="form-label">
        For <span class="mandatory">*</span>
      </td>
      <td class="form-input">
        <select type="text" name="for-whom" id="for-whom" class="selectbox_3">
          <option value="kids">Kids</option>
          <option value="girls">Girls</option>
          <option value="boys">Boys</option>
          <option value="women">Womens</option>
          <option value="men">Mens</option>
        </select>      
      </td>
      <td class="form-extra-info"></td>
    </tr>
    <tr>
      <td class="form-label">
        Category <span class="mandatory">*</span>
      </td>
      <td class="form-input">
        <select type="text" name="category" id="category" class="selectbox_3">
          <option value="Other">Other</option>
          <option value="Casual wear">Casual wear</option>
          <option value="Formal wear">Formal wear</option>
          <option value="Inner wear">Inner wear</option>
          <option value="Accessories">Accessories</option>
        </select>      
      </td>
      <td class="form-extra-info"></td>
    </tr>  
      <td class="form-label">
        What <span class="mandatory">*</span>
      </td>
      <td class="form-input">
        <input type="text" class="textbox_3" name="name" id="name" required= "required" placeholder="tshirt"  />
      </td>
      <td class="form-extra-info">
        
      </td>
      <td class="form-extra-info"></td>
    </tr>
    <tr>
      <td class="form-label">
        Type 
      </td>
      <td class="form-input">
        <input type="text" class="textbox_3" name="type" id="type" required= "required" placeholder="Round/V-neck"  />
      </td>
      <td class="form-extra-info">
      </td>
    </tr>
      <td class="form-label">
        Title <span class="mandatory">*</span>
      </td>
      <td class="form-input">
        <input type="text" class="textbox_3" name="title" id="title" required= "required" placeholder="Boys full sleeve tshirts"  />
      </td>
      <td class="form-extra-info">
      </td>
    <tr>
      <td class="form-label">
        Description(if any) 
      </td>
      <td class="form-input">
        <input type="text" class="textbox_3" name="description" id="description"  placeholder="Nice Traditional full sleeve t-shirts."  />
      </td>
      <td class="form-extra-info">
      </td>
    </tr>
    <tr>
      <td class="form-label">
        Product Status <span class="mandatory">*</span>
      </td>
      <td class="form-input">
        <select type="text" name="status" id="status" class="selectbox_3">
          <option value="new">New</option>
          <option value="available">Available</option>
          <option value="sold-out">Sold out</option>
          <option value="new-arrival">New Arrival</option>
        </select>      
      </td>
      <td class="form-extra-info"></td>
    </tr>
    <tr>
      <td class="form-label">
        Show this product <span class="mandatory">*</span>
      </td>
      <td class="form-input">
        <select name="show-this" id="show-this"  class="selectbox_3">
          <option value="yes">Yes</option>
          <option value="no">No</option>
        </select>      
      </td>
      <td class="form-extra-info"></td>
    
    </tr>
    <tr>
    <td class="form-label">
        Price <span class="mandatory">*</span>
      </td>
      <td class="form-input">
        <input type="text" class="textbox_3" name="price" required id="price" placeholder="299"  />
      </td>
      <td class="form-extra-info">
      </td>
    </tr>
    <tr>
      <td class="form-label">
        Discount
      </td>
      <td class="form-input">
        <input type="text" class="textbox_3" name="discount"  id="discount" placeholder="0%" value="0" />
      </td>
      <td class="form-extra-info">
      </td>
    </tr>
    <tr>
      <td class="form-label">
        Size <span class="mandatory">*</span>
      </td>
      <td class="form-input">
      <input type="text" class="textbox_3" name="size" id="size"  placeholder=""  />
      </td>
      <td class="form-extra-info">
      </td>
    </tr>
    <tr>
      <td class="form-label">
        Color 
      </td>
      <td class="form-input">
        <input type="text" class="textbox_3" name="color" id="color" placeholder="Blue"  />
      </td>
      <td class="form-extra-info">
      </td>
      <td class="form-extra-info"></td>
    </tr>

      <tr>
      <td class="form-label">
   
      </td>
      <td class="form-input" align="right">
        <input type="hidden" name="image" value="" />
      </td>
      <td class="form-extra-info">
      </td>
      <td class="form-extra-info"></td>
    </tr>

      <tr>
      <td class="form-label">
   
      </td>
      <td class="form-input" align="right">
        <input type="hidden" name = "product_image_path" id = "product_image_path" value="" />
        <input type="submit" name="save" id="save" value="Save" onclick="return validate_product();" class="button_3" />
      </td>
      <td class="form-extra-info">
      </td>
      <td class="form-extra-info"></td>
    </tr>
  </table>
</form>
</div>
<div class="grid_5">
<form id="file_upload_form" action="upload_product.php" method="post" enctype="multipart/form-data" target="upload_target">
    <div id="chng_prfl_pht_popup" class="">
      <img id="cropbox" />
      <br />Please choose a picture for the product <br><input id="upload_product" type="file" name="img" class="multi"/></div><br>
    <iframe id="upload_target" class="hide" name="upload_target" src=""></iframe>
    <input type="hidden" name="usr_nmbr" value='<?php echo '1'; ?>' />
</form>
<form action="product-registration.php" method="post" onsubmit="return checkCoords();">
  <input type="hidden" id="x" name="x" />
  <input type="hidden" id="y" name="y" />
  <input type="hidden" id="w" name="w" />
  <input type="hidden" id="h" name="h" />
  <input type="button" name="crop-button" class="button_3" id="crop-button" style="display: none;" value="Crop Image" />
  <input type="hidden" value="" name="crop_image_src" id="crop_image_src" />
</form>
